﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    public sealed class SwitchExpressionDto : ExpressionDto
    {
        [ProtoMember(1)]
        public SwitchCaseDto[] Cases { get; set; }
        [ProtoMember(1)]
        public MethodInfoDto Comparison { get; set; }
        [ProtoMember(1)]
        public ExpressionDto DefaultBody { get; set; }
        [ProtoMember(1)]
        public ExpressionDto SwitchValue { get; set; }
    }
}
